public class Teacher {
    int teachType;
    public void speak(){
        if(teachType==1){
            System.out.println("课程的内容是二次方程");
        }else if(teachType==2){
            System.out.println("课程内容是学唱五线谱");
        }
    }
}
